<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('修改')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-statisticsWithdrawal-edit" th:object="${statisticsWithdrawal}">
            <input id="id" name="id" th:field="*{id}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">渠道标识：</label>
				<div class="col-sm-8">
					<input id="channelId" name="channelId" th:field="*{channelId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">渠道名称：</label>
				<div class="col-sm-8">
					<input id="channelName" name="channelName" th:field="*{channelName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">渠道编码：</label>
				<div class="col-sm-8">
					<input id="channelCode" name="channelCode" th:field="*{channelCode}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">商户标识：</label>
				<div class="col-sm-8">
					<input id="merchantId" name="merchantId" th:field="*{merchantId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">商户名称：</label>
				<div class="col-sm-8">
					<input id="merchantName" name="merchantName" th:field="*{merchantName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">商户编码：</label>
				<div class="col-sm-8">
					<input id="merchantCode" name="merchantCode" th:field="*{merchantCode}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">预期代付数：</label>
				<div class="col-sm-8">
					<input id="expectTimes" name="expectTimes" th:field="*{expectTimes}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">预期代付额：</label>
				<div class="col-sm-8">
					<input id="expectFee" name="expectFee" th:field="*{expectFee}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">预期渠道出账：</label>
				<div class="col-sm-8">
					<input id="expectChFee" name="expectChFee" th:field="*{expectChFee}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">预期商户出账：</label>
				<div class="col-sm-8">
					<input id="expectMchFee" name="expectMchFee" th:field="*{expectMchFee}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">预期财务出账：</label>
				<div class="col-sm-8">
					<input id="expectFinFee" name="expectFinFee" th:field="*{expectFinFee}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">实际代付数：</label>
				<div class="col-sm-8">
					<input id="realTimes" name="realTimes" th:field="*{realTimes}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">实际代付额：</label>
				<div class="col-sm-8">
					<input id="realFee" name="realFee" th:field="*{realFee}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">实际渠道出账：</label>
				<div class="col-sm-8">
					<input id="realChFee" name="realChFee" th:field="*{realChFee}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">实际商户出账：</label>
				<div class="col-sm-8">
					<input id="realMchFee" name="realMchFee" th:field="*{realMchFee}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">实际财务出账：</label>
				<div class="col-sm-8">
					<input id="realFinFee" name="realFinFee" th:field="*{realFinFee}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">统计时间：</label>
				<div class="col-sm-8">
					<input id="statisticsTime" name="statisticsTime" th:field="*{statisticsTime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">统计类型：</label>
				<div class="col-sm-8">
					<input id="statisticsType" name="statisticsType" th:field="*{statisticsType}" class="form-control" type="text">
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "merchantStatistics/statisticsWithdrawal";
		$("#form-statisticsWithdrawal-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			focusCleanup: true
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-statisticsWithdrawal-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
